package org.example.springaop02.aspect;


import org.example.springaop02.annotation.Tation;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;


@Primary
@Component
public class Math01Impl implements Math01{
    @Override
    @Tation
    public int add(int i, int j) {
        return i+j;
    }

    @Override
    public int div(int i, int j) {
        return i/j;
    }
}
